package com.sistemagestion.BO;

import java.util.List;

import com.sistemagestion.DAO.RazonSocialRepository;
import com.sistemagestion.Entities.RazonSocial;

public class RazonSocialBO {

	private RazonSocialRepository repository = new RazonSocialRepository();

	public List<RazonSocial> getAll() {
		return repository.getAll();
	}

	public RazonSocial getById (int IdRazonSocial) {
		try {
			return repository.getById(IdRazonSocial);
		} catch (Exception e) {
			return null;
		}
	}
}
